let baseUrl = ''
let host = ''
console.log('env', import.meta.env)
if(import.meta.env.VITE_APP_TYPE === 'new') {
    // if (process.env.NODE_ENV === 'development') {
    //     console.log('开发环境new');
    //     baseUrl = 'http://localhost:9001'
    //     host = 'http://localhost:9001'
    // } else {
    //     baseUrl = 'http://localhost:9001'
    //     host = 'http://localhost:9001'
    // }
} else {
    if (process.env.NODE_ENV === 'development') {
        console.log('开发环境old');
        // baseUrl = 'http://127.0.0.1:9001'
        // host = 'http://127.0.0.1:9001' 
        // host = 'https://ksh.sdzsaqjs.com'
        // baseUrl = 'https://ksh.sdzsaqjs.com/api'
        host = 'https://lz.sdzsaqjs.com'
        baseUrl = 'https://lz.sdzsaqjs.com/api'
        
    } else {
        host = 'https://lz.sdzsaqjs.com'
        baseUrl = 'https://lz.sdzsaqjs.com/api'
    }
}

export { host, baseUrl }
